import request from '@/utils/request'

// 查询postingComment列表
export function listpostingComment(query,data) {
return request({
url: '/api/v1/community/postingCommentList',
method: 'post',
params: query,
data: data
})
}

// 查询postingComment详细
export function getpostingComment (commentId) {
return request({
url: '/api/v1/community/postingComment/' + commentId,
method: 'get'
})
}


// 新增postingComment
export function addpostingComment(data) {
return request({
url: '/api/v1/community/postingComment',
method: 'post',
data: data
})
}

// 修改postingComment
export function updatepostingComment(data) {
return request({
url: '/api/v1/community/postingComment',
method: 'put',
data: data
})
}

// 删除postingComment
export function delpostingComment(commentId) {
return request({
url: '/api/v1/community/postingComment/' + commentId,
method: 'delete'
})
}